package com.itheima.zuoye.zuoye3;

public class Students {
    private int id;
    private String name;
    private String sex;
    private String day;
    private String spot;

    public Students() {
    }

    public Students(int id, String name, String sex, String day, String spot) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.day = day;
        this.spot = spot;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getSpot() {
        return spot;
    }

    public void setSpot(String spot) {
        this.spot = spot;
    }

    @Override
    public String toString() {
        return "Students{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", day='" + day + '\'' +
                ", spot='" + spot + '\'' +
                '}';
    }
}
